home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-22 | 670 b | 17 lines | [TEXT/CWIE] |
- When In Rome
- Mac Hack XI - MCMXCVI
- © 1996 Barry Semo. All Rights Reserved
- barrys@netcom.com
-
- This INIT converts decimal numbers into Roman numerals, parsing a string for
- embedded numbers. It patches DrawString and StringWidth. Not all numbers are
- converted because not all text drawing goes through these traps. Large numbers
- will have a lot of M's and look a bit weird but Roman numerals were never designed
- for very large numbers.
-
- The INIT uses the LString class from PowerPlant which makes string handling
- very simple. This source file cannot be redistributed - go buy CodeWarrior:)
-
- Thanks to Chris Russ for the idea. This hack was written during MacHack.
-
-